home *** CD-ROM | disk | FTP | other *** search
/ Games of Daze / Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso / x2ftp / msdos / libs / knowhow4 / bl.h < prev    next >
C/C++ Source or Header  |  1994-10-10  |  742b  |  30 lines

  1. /* BL.H    ObjektKit with Window and CANCEL, RESIZE and MOVE Elements
  2.        added to it.
  3. */
  4.  
  5. #ifndef __BL_H_
  6. #define __BL_H_
  7.  
  8. #include "element.h"
  9. #include "objkit.h"
  10. #include "window.h"
  11.  
  12. class Bl : public ObjectKit
  13.     {
  14.     public:
  15.     Element* cancel_element;
  16.     Element* move_element; Element* resize_element;
  17.     Window* w1;
  18.  
  19.     virtual int active() { return w1->active(); }
  20.         void show_window();
  21.     virtual void hide() { w1->hide(); }
  22.     virtual void rearrange();  // after MOVE or RESIZE
  23.  
  24.     Bl(rect coord, char* fName = "", char* h = "", int shadow = 0,
  25.         int res = 0, BORDERS b_type = SHOW_BORDER,
  26.         BORDERS hdr_b_type = SHOW_BORDER,
  27.         int pat = 0, int hdr_pat = 0, int elem_pat = 0);
  28.     };
  29.  
  30. #endif __BL_H_